{include file="public/header" /}
<style>
    .layui-form-label{
        padding: 9px 0;
        width: auto;
    }
</style>
<body class="gray-bg">
<div class="wrapper wrapper-content">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <h5>任务详情信息</h5>
                </div>
                <div class="ibox-content layui-form">
                    <div class="layui-row layui-col-space10 layui-form-item ">
                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">任务编号：</label>
                            <div class="layui-input-block">
                                <input type="text"  lay-verify="required" class="layui-input" value="{$info.task_number}" disabled>
                            </div>
                        </div>



                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">已完成任务数：</label>
                            <div class="layui-input-block">
                                <input type="text"  lay-verify="required" class="layui-input" value="{$info.task_done_num}" disabled>
                            </div>
                        </div>



                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">任务图片：</label>
                            <div class="input-group col-sm-5">
                                <img id="lunbo_image" height="100px"
                                     style="float:left;margin-left: 50px;margin-top: 20px;cursor:pointer;"
                                     src="{$info.task_image}"
                                     onerror="this.src='/static/admin/images/head_default.gif'" class="img-circle"/>
                            </div>
                        </div>
                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">任务类型：</label>
                            <div class="layui-input-block">
                                <input type="text"  lay-verify="required" class="layui-input" value="{$info.task_type_name}" disabled>
                            </div>
                        </div>
                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">任务名称：</label>
                            <div class="layui-input-block">
                                <input type="text"  lay-verify="required" class="layui-input" value="{$info.task_name}" disabled>
                            </div>
                        </div>
                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">任务区域：</label>
                            <div class="layui-input-block">
                                <input type="text"  lay-verify="required" class="layui-input" value="{$info.address}" disabled>
                            </div>
                        </div>
                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">任务总数：</label>
                            <div class="layui-input-block">
                                <input type="text"  lay-verify="required" class="layui-input" value="{$info.task_num}" disabled>
                            </div>
                        </div>
                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">单个任务金额：</label>
                            <div class="layui-input-block">
                                <input type="text"  lay-verify="required" class="layui-input" value="{$info.task_price}" disabled>
                            </div>
                        </div>
                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">任务总金额：</label>
                            <div class="layui-input-block">
                                <input type="text"  lay-verify="required" class="layui-input" value="{$info.task_money}" disabled>
                            </div>
                        </div>
                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">完成率：</label>
                            <div class="layui-input-block">
                                <input type="text"  lay-verify="required" class="layui-input" value="{$info.wcl}" disabled>
                            </div>
                        </div>
                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">任务开始时间：</label>
                            <div class="layui-input-block">
                                <input type="text"  lay-verify="required" class="layui-input" value="{$info.task_starttime}" disabled>
                            </div>
                        </div>
                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">任务结束时间：</label>
                            <div class="layui-input-block">
                                <input type="text"  lay-verify="required" class="layui-input" value="{$info.task_endtime}" disabled>
                            </div>
                        </div>
                        <div class="layui-form-item layui-col-md-offset1 layui-col-md10">
                            <label class="layui-form-label">任务简介：</label>
                            <div class="layui-input-block" id="LAY_editor" lay-verify="editor">
                                <p>{$info.task_content}</p>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">审核状态：</label>
                            <div class="layui-input-block">
                                {if $info.task_super == 1}
                                <input type="text" value="未审核" lay-verify="required" disabled maxlength="2" class="layui-input" name="task_super_admin">
                                {/if}
                                {if $info.task_super == 2}
                                <input type="text" value="已通过" lay-verify="required" disabled maxlength="2" class="layui-input" name="task_super_admin">
                                {/if}
                                {if $info.task_super == 3}
                                <input type="text" value="已拒绝" lay-verify="required" disabled maxlength="2" class="layui-input" name="task_super_admin">
                                {/if}
                            </div>
                        </div>

                        {if $info.task_super == 2}
                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">指定达人：</label>
                            <div class="layui-input-block">
                                <input type="text" value="{$info.sup_name}" lay-verify="required" disabled maxlength="2" class="layui-input" name="task_super_admin">
                            </div>
                        </div>
                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">是否锁定</label>
                            <div class="layui-input-block">
                                <input type="radio" name="s_status" {if $info.task_lock == 1}checked{/if} value="1" title="是" disabled>
                                <input type="radio" name="s_status" {if $info.task_lock == 2}checked{/if} value="2" title="否" disabled>
                            </div>
                        </div>
                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">平台抽佣：</label>
                            <div class="layui-input-block">
                                <input type="text" value="{$info.task_super_admin}%" lay-verify="required" disabled maxlength="2" class="layui-input" name="task_super_admin">
                            </div>
                        </div>
                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">首付比例：</label>
                            <div class="layui-input-block">
                                <input type="text" value="{$info.task_super_first}%" lay-verify="required" disabled maxlength="2" class="layui-input" name="task_super_first">
                            </div>
                        </div>
                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">尾款比例：</label>
                            <div class="layui-input-block">
                                <input type="text" value="{$info.task_super_lase}%" lay-verify="required" disabled maxlength="2" class="layui-input" name="task_super_lase">
                            </div>
                        </div>
                        {/if}
                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <div class="layui-input-block">
                                <button class="layui-btn layui-btn-primary" onclick="history.go(-1)">返回</button>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
{include file="public/footer" /}
<script>
    var editor = wk.wang({elem:'#LAY_editor'});
</script>
</body>
</html>
